package com.xiaotu.yapi.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author Mr.zhang
 * @create 2022-01-08 13:11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVo {

    @NotBlank
    private String userName;

    @NotNull
    private Integer sex;

}
